package com.qf.service;

import com.qf.pojo.PageBean;
import com.qf.pojo.TbGoods;

import java.util.List;

/*
 *@Description:
 *@author:刘哥
 *@Date:86180 2022/8/16 17:41
 */
public interface GoodsService {
    List<TbGoods> selectByTypeId(int typeId);

    PageBean<TbGoods> selectByTypeId(long id, int currentPage);

    TbGoods findById(long id);

    TbGoods findByGid(long pid);

    List<TbGoods> find();

    void deleteGoods(long id);

    void updateGoods(TbGoods goods);

    void addGoods(TbGoods goods);
}
